package com.lance.shiro.entity;

import java.util.Arrays;

/**
 * Created By ShiYun with IntelliJ IDEA on 2018/11/26 15:45
 *
 * @author: ShiYun
 * @Email: 515867726@qq.com
 * @Date: 2018/11/26
 * To change this template use File | Settings | File Templates.
 */
public class EmailGroup {

    /**
     * 存放所有传统用户(agent, customer)的ids
     */
    private String[] userIds;

    /**
     * solicitor用户的id数组
     */
    private String[] solicitorIds;

    /**
     * 邮件标题
     */
    private String title;

    /**
     * 邮件内容
     */
    private String content;

    /**
     * 附件列表（上传附件id，逗号分割）
     */
    private String attachment;

    public String[] getUserIds() {
        return userIds;
    }

    public void setUserIds(String[] userIds) {
        this.userIds = userIds;
    }

    public String[] getSolicitorIds() {
        return solicitorIds;
    }

    public void setSolicitorIds(String[] solicitorIds) {
        this.solicitorIds = solicitorIds;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    @Override
    public String toString() {
        return "EmailGroup{" +
                "userIds=" + Arrays.toString(userIds) +
                ", solicitorIds=" + Arrays.toString(solicitorIds) +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", attachment='" + attachment + '\'' +
                '}';
    }
}
